package com.lb.uts.entity;

/**
 * 执行器信息</p>
 * 只包含最基本的信息
 *
 * @author liangb
 * @version 3.0
 * @date 2019/4/28 11:53
 */
public class ActiveClientInfo {

    private String ip;

    private String systemName;

    /**
     * 权重：1-10000,数字越大权重越大
     * 默认值：1
     * 如果为零，那么表示永远不会被调用
     */
    private int weight = 1;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    @Override
    public String toString() {
        return "ActiveClientInfo{" +
                "ip='" + ip + '\'' +
                ", systemName='" + systemName + '\'' +
                ", weight=" + weight +
                '}';
    }
}
